package com.flow.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * UserBasic entity. @author MyEclipse Persistence Tools
 */

public class UserBasic  implements java.io.Serializable {


    // Fields    

     private String ubId;
     private String ubName;
     private String ubPhone;
     private String ubEmail;
     private String ubPwd;
     private Date ubCreateTime;
     private Date ubLastTime;
     private Integer ubStatus;
     private Set userRoles = new HashSet(0);


    // Constructors

    /** default constructor */
    public UserBasic() {
    }

    /** full constructor */
    public UserBasic(String ubId, String ubPhone, String ubEmail, String ubPwd, Integer ubStatus) {
        this.ubId = ubId;
        this.ubPhone = ubPhone;
        this.ubEmail = ubEmail;
        this.ubPwd = ubPwd;
        this.ubStatus = ubStatus;
    }
    
    /** full constructor */
    public UserBasic(String ubId, String ubName, String ubPhone, String ubEmail, String ubPwd, Date ubCreateTime, Date ubLastTime, Integer ubStatus, Set userRoles) {
        this.ubId = ubId;
        this.ubName = ubName;
        this.ubPhone = ubPhone;
        this.ubEmail = ubEmail;
        this.ubPwd = ubPwd;
        this.ubCreateTime = ubCreateTime;
        this.ubLastTime = ubLastTime;
        this.ubStatus = ubStatus;
        this.userRoles = userRoles;
    }

   
    // Property accessors

    public String getUbId() {
        return this.ubId;
    }
    
    public void setUbId(String ubId) {
        this.ubId = ubId;
    }

    public String getUbName() {
        return this.ubName;
    }
    
    public void setUbName(String ubName) {
        this.ubName = ubName;
    }

    public String getUbPhone() {
        return this.ubPhone;
    }
    
    public void setUbPhone(String ubPhone) {
        this.ubPhone = ubPhone;
    }

    public String getUbEmail() {
        return this.ubEmail;
    }
    
    public void setUbEmail(String ubEmail) {
        this.ubEmail = ubEmail;
    }

    public String getUbPwd() {
        return this.ubPwd;
    }
    
    public void setUbPwd(String ubPwd) {
        this.ubPwd = ubPwd;
    }

    public Date getUbCreateTime() {
        return this.ubCreateTime;
    }
    
    public void setUbCreateTime(Date ubCreateTime) {
        this.ubCreateTime = ubCreateTime;
    }

    public Date getUbLastTime() {
        return this.ubLastTime;
    }
    
    public void setUbLastTime(Date ubLastTime) {
        this.ubLastTime = ubLastTime;
    }

    public Integer getUbStatus() {
        return this.ubStatus;
    }
    
    public void setUbStatus(Integer ubStatus) {
        this.ubStatus = ubStatus;
    }

    public Set getUserRoles() {
        return this.userRoles;
    }
    
    public void setUserRoles(Set userRoles) {
        this.userRoles = userRoles;
    }
   








}